@charset 'utf-8';
.nav{
    background-color: #2e2828;
    ul:nth-child(1){
        float: left;
    }
    ul:nth-child(2){
        float: right;
    }
    .list>li{
        height: 36px;
        float: left;
        text-align: center;
        height: 36px;
        line-height: 36px;
        padding: 0 8px;
        position: relative;
        a{
            color:#afafaf;
            font-size: 12px;
            
        }
        
    }
    .drop-down{
        a{
            position: relative;
            padding-right:10px;
        }  
        >a::after{
            content: "";
            display: block;
            width: 14px;
            height: 14px;
            background-image: url('../img/icon-common.svg');
            background-position: -71px 0;
            position: absolute;
            top: 2px;
            right:-5px;
        }
        .down-list{
            position: absolute;
            z-index: 100;
            width: 150%;
            right: 0px;
            border-radius: 5px;
            padding-top: 5px;
            display: none;
            background: white;
            li{
                width: 100%;
                text-align: center;
            }
            a{
                color:#7c7a7a;
            }
            li:hover a{
                color:crimson;
            }
        }
        .down-nav{
            position: absolute;
            z-index: 320;
            background: white;
            width: 1200%;
            right: 0px;
            display: none;
            border-radius: 10px;
            h3{
                text-align: left;
                margin: 40px 0 8px!important;
                font-size: 18px!important;
            }
            >li{
                margin-right: 45px;
                margin-bottom: 20px;
            }
            >li:first-child{
                margin-left: 45px;
            }
            li{
                float: left;
                a{
                    display: block;
                    text-align: left;
                    height: 20px;
                    line-height: 20px;
                    margin-bottom: 4px;
                    color:#7c7a7a;
                    padding-right: 30px;
                }
                a:hover{
                    color:crimson;
                }
                dl{
                    margin-top: 40px;
                    text-align: center;
                }
                dt{
                    background-image: url(../img/icon-common.svg);
                    width: 55px;
                    height: 55px;
                    background-position: -200px 0;
                    margin: 0 auto;
                }
                dd{
                    margin: 0 auto;
                    a{
                        padding: 0;
                        text-align: center;
                    }
                }
            }
        }
        .down-app{
            position: absolute;
            z-index: 320;
            background: white;
            width: 400%;
            right: 0px;
            border-radius: 5px;
            display: none;
            li{
                padding: 20px 10px 10px 20px;
                border-bottom: 1px solid #ddd;
                dl{
                    overflow: hidden;
                    margin: 0;
                }
                dt{
                    width: 40%;
                    margin-right: 10px;
                }
                dd,dt{
                    float: left;
                }
                dd{
                    margin: 0px;
                }
                a{
                    display: block;
                    padding: 0px;
                }
                img{
                    width: 100%;
                }
                h3{
                    font-size: 16px;
                    height: 20px;
                    line-height: 20px;
                    padding-right: 22px;
                }
                h3,span{
                    margin: 0;
                    text-align: left;
                }
                span{
                    display: block;
                    font-size: 12px;
                    height: 18px;
                    line-height: 18px;
                }
                
                div{
                    display: flex;
                    justify-content: space-around;
                    
                }
                i{
                    display: block;
                    width: 30px;
                    height: 30px;
                    background-image: url(../img/icon-common.svg);
                }
                i:nth-child(2){
                    background-position: -40px -113px;
                }
                i:nth-child(3){
                    background-position: -32px 0;
                }
            }
            li:first-child{
                    span{
                        color:crimson;
                    }
            }
            li:nth-child(2){
                h3{
                    padding-right: 0;
                }
            }
            li:not(:first-child){
                h3{
                    margin-bottom: 3px;
                }
                span:nth-of-type(2){
                    margin-bottom: 5px;
                }
            }
            li:nth-of-type(3){
                border: 0px;
            }
        }
    }
    .drop-down:hover{
        background-color: white;
        >a{
            color:crimson;
            &::after{
                background-position: -85px 0;
            }
        }
        >ul{
            display: block;
        }
    }
    ul:nth-child(2){
        .drop-down{
            .down-list{
                width: 100%;
            }
        }
    }
    .shop-down{
        background-color:rgb(66, 66, 66);
        a{
            padding-left: 23px;
        }
        >a::before{
            content: "";
            display: block;
            width: 20px;
            height: 12px;
            background-image: url('../img/icon-common.svg');
            background-position: -99px -4px;
            position: absolute;
            top: 3px;
            left:-1px;
            line-height: 12px;
        }
        a::after{
            content:"";
            display: none;
        }
    }
    .shop-down:hover>a::before{
        background-position: -119px -4px;
    }
    >ul>li:not(:first-child)::before{
            content: "";
            width: 1px;
            height: 10px;
            position: absolute;
            top:15px;
            left: 0;
            background-color:#414141;
        }
    }
.nav-1{
    padding: 18px 0 15px 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04);
    .logol{
        float: left;
        width: 205px;
        height: 36px;
        margin-right: 34px;
        a{
            display: block;
        }
        img{
            width: 100%;
        }
    }
    .navbar-right{
        margin: 0!important;
        padding:0!important;
        input,button{
            outline: none!important;
            border: 0px!important;
            background: #f0f0f0;
            padding: 0!important;
            height: 30px;
        }
        input{
            width: 196px;
            border-radius: 15px;
            text-shadow: none;
            border: 0;
        }
        .form-group{
            position: relative;
            .search-result{
                position: absolute;
                width: 235px;
                top:35px;
                z-index: 3000;
                background: white;
                border-radius: 5px;
                background: #ddd;
                li{               
                    float: none;
                    margin-right: 0!important;
                    a{
                        display: block;
                        color: black;
                        height: 30px;
                        line-height: 30px;
                        text-align: left;
                        font-size: 13px;
                        text-indent: 1em;
                        &:hover{
                            color: crimson;
                        }
                    }
                }
            }    
        }
        button{
            width: 25px;
            margin-right: 10px;
            background-image: url(../img/icon-common.svg);
            background-position: -157px 5px;
        }
    }
    ul{
        float: left;
    }
    li{
        float: left;
        margin-right: 24px;
        a{
            color:#414141;
            font-size: 17px;
            display: block;
            height: 40px;
            line-height: 40px;
            img{
                height: 24px;
            }
        }
        a:hover{
            color:crimson;
        }
        
    }
    li:first-child{
        a:hover{
            opacity: 0.8;
        }
    }
    .form-box{
        float: right;
        position: relative;
        line-height: 1;
        width: 238px;
        background: #f0f0f0;
        border: 1px solid #c9c9c9;
        border-radius: 15px;
        position: relative;
        z-index: 310;
        margin-top: 6px;
        .key-search{
            position: absolute;
            top:7px;
            right: 40px;
            a{
                font-size: 12px;
                color:darkgray;
            }
            span:first-child{
                margin-right: 8px;
            }
            span:hover a{
                color:#414141;
            }
        }
    }
}        
.users{
    .userBox{
        position:absolute;
        width: 340px;
        right: 0;
        background: white;
        display: none;
        z-index: 2000;
        a:hover{
            color: crimson;
        }
        section:nth-of-type(1){
            padding: 25px 20px 0 23px;
            color: #3a3a3a;
            height: 99px;
            overflow: hidden;
            div{
                float: left;
            }>
            img{
                width: 74px;
                height: 74px;
                float: left;
                margin-right: 20px;
            }
            em{
                width: 20px;
                height: 20px;
                display: block;
                position: absolute;
                z-index: 2;
                top: -6px;
                left: -2px;
                background: url('../img/icon01.svg') no-repeat;
                background-position: -343px 0;
            }
            p{
                width: 130px;
                height: 8px;
                background: #eaeaea;
                position: relative;
                border-radius: 0 4px 4px 0;
                left: 17px;
                margin-top: 14px;
                margin-bottom: 18px;
                span{
                    height: 8px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    border-radius: 0 4px 4px 0;
                    background: #d4d4d4;
                }
            }
            a{
                width: 90px;
                height: 30px;
                line-height: 30px;
                text-align: center;
                font-size: 12px;
                float: left;
                margin-right: 7px;
                position: relative;
                color: #717171;
                background: #f5f5f5;
                border-radius: 2px;
            }
            a:nth-of-type(1) em{
                top: 5px;
                left: 2px;
                background-position: -40px 0;
            }
            a:nth-of-type(2) em{
                top: 5px;
                left: 2px;
                background-position: -20px 0;
            }
        }
        section:nth-of-type(2){
            width: 340px;
            padding: 32px 20px 0;
            overflow: hidden;
            line-height: 1;
            dl{
                
                dt{
                    width: 300px;
                    font-size: 14px;
                    border-bottom: 1px solid #eee;
                    padding-bottom: 8px;
                    color: #3a3a3a;overflow: hidden;
                    span{
                        float: left;
                    }
                    a{
                        font-size: 12px;
                        color: #717171;
                        float: right;
                    }
                }
            }
            ul{
                padding: 13px 0 12px;
                li:first-child{
                    float: left;
                    border-left: none;
                    text-align: left;
                    width: 49px;
                }
                li{ 
                    border-left: 1px solid #eee;
                    width: 61px;
                    text-align: center;
                    float: left;
                }
            }
        }
        section:nth-of-type(3){
            height: 72;
            a{
                display: inline-block;
                padding: 16px 6px 18px;
                width: 110px;
                box-sizing: border-box;
                span:first-child{
                    padding: 0 0 10px;
                    color: #000!important;
                    font-size: 16px;
                }
                span{
                    color: #717171;
                    display: block;
                    line-height:16px!important;
                }
            }
        }
        button{
            width: 100%;
            height: 39px;
            line-height: 39px;
            background: #fff;
            border-top: 1px solid #EEE;
            text-align: center;
            border-radius: 0 0 8px 8px;
            border: 0;
            outline: none;
            
        }
    }
    &:hover .userBox{
        display: block;
    }
}
